﻿using System;
using System.Collections.Generic;
using System.Text;
using WebApiClient.DataAnnotations;

namespace ARchGL.Platform.Qianbian
{
    /// <summary>
    /// 项目考勤数据
    /// </summary>
    [Serializable]
    public class ProjectAttendancesApiDto
    {
        /// <summary>
        /// 项目标识
        /// </summary>
        [AliasAs("projectId")]
        public Guid ProjectId { get; set; }

        /// <summary>
        /// 项目标识
        /// </summary>
        [AliasAs("workerId")]
        public string WorkerId { get; set; }

        /// <summary>
        /// 身份证号SHA-1加密后的十六进制字符串
        /// </summary>
        [AliasAs("idNoCoded")]
        public string IdCardSHA { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [AliasAs("name")]
        public string Name { get; set; }

        /// <summary>
        /// 1 进场； -1 出场
        /// </summary>
        [AliasAs("entry")]
        public int Entry { get; set; }

        /// <summary>
        /// 考勤时间
        /// </summary>
        [AliasAs("attendanceDate")]
        public DateTime? AttendanceTime { get; set; }
    }
}
